package edu.cmu.cs.stage3.alice.core.property;

import java.io.IOException;

import edu.cmu.cs.stage3.alice.core.Element;
import edu.cmu.cs.stage3.alice.core.ReferenceGenerator;
import edu.cmu.cs.stage3.alice.core.applet.AppletXmlStruct;
import edu.cmu.cs.stage3.io.DirectoryTreeStorer;
import edu.cmu.cs.stage3.io.KeepFileDoesNotExistException;
import edu.cmu.cs.stage3.io.KeepFileNotSupportedException;

public class VertexArrayProperty extends ObjectArrayProperty {

 public VertexArrayProperty (Element owner, String name, Object[] defaultValue, Class valueClass) {
  super(owner, name, defaultValue, valueClass);
  // TODO Auto-generated constructor stub
  }

 //Rem @Override
 protected void decodeObject (org.w3c.dom.Element node, java.util.Vector referencesToBeResolved) throws java.io.IOException {
  }

 //Rem @Override
 protected void encodeObject (org.w3c.dom.Document document, org.w3c.dom.Element node, DirectoryTreeStorer storer, edu.cmu.cs.stage3.alice.core.ReferenceGenerator referenceGenerator) throws java.io.IOException {
  }

 //Rem @Override
 protected AppletXmlStruct encodeObjectToXml (ReferenceGenerator referenceGenerator) throws IOException {
  return new AppletXmlStruct();
  }

 //Rem @Override
 public void keepAnyAssociatedFiles (DirectoryTreeStorer storer) throws KeepFileNotSupportedException, KeepFileDoesNotExistException {
  super.keepAnyAssociatedFiles( storer );
  String filename = "vertices.bin";
  storer.keepFile( filename );
  }

 }
